<template>
  <div>
    <el-row>
  <el-col :span="5"></el-col>
  <el-col :span="14" :offset="5"><div class="grid-content bg-purple-light">
    <el-carousel indicator-position="outside">
    <el-carousel-item v-for="(items, index) in srcfour" :key="index" >
      <img :src="items.src">
    
    </el-carousel-item>
  </el-carousel></div></el-col>
  <el-col :span="5"></el-col>
</el-row>
  
  </div>
</template>

<script>
export default {
  data() {
    return {
        srcfour:[

           {src:require("../assets/lunbo1.jpg")},{src:require("../assets/lunbo2.jpg")},{src:require("../assets/lunbo3.jpg")},{src:require("../assets/lunbo4.jpg")}
        ]
    };
  },
  methods: {
    
    
  },
};
</script>
<style>
  .el-carousel__item h3 {
    color: #475669;
    font-size: 18px;
    opacity: 0.75;
    line-height: 300px;
    margin: 0;
  }
  
  .el-carousel__item:nth-child(2n) {
    background-color: #99a9bf;
  }
  
  .el-carousel__item:nth-child(2n+1) {
    background-color: #d3dce6;
  }
</style>